package com.example.furniture.service;

import com.example.furniture.entity.Category;

import java.util.List;

public interface CategoryService {
    Category getById(Long id);
    List<Category> listAll();
    Category create(Category category);
    Category update(Long id, Category category);
    void delete(Long id);
}


